home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c,comp.unix.programmer,comp.os.linux.development.apps
- Path: cannon.ecf!brewste
- From: brewste@ecf.toronto.edu (BREWSTER NEIL VINAY)
- Subject: HELP: I/O via LPT1:
- X-Nntp-Posting-Host: skule.ecf
- Message-ID: <Do2nMH.5A1@ecf.toronto.edu>
- Sender: news@ecf.toronto.edu (News Administrator)
- Organization: University of Toronto, Engineering Computing Facility
- Date: Sun, 10 Mar 1996 21:56:41 GMT
-
- I am working on a project which requires that I interface a
- Linux machine with external circuitry. I have read several faqs (available
- at www.paranoia.com/~filipg for those interested), and understand how
- to go about doing this. The only problem is, I do not know the syntax
- (in C) to do it! The faqs give plenty of examples in assembler, basic,
- Turbo Pascal, Microsoft C, etc. I am using gcc and the standard libraries...
-
- Does anyone know the equivalent of inport() and outport()?
-
- Alternatively - is there a way to embed assembler code in a C program?
-
- Thanks in advance for (any) help!
-
- neil.
- __
- Neil Brewster -- University of Toronto Engineering Science 9T8
- http://www_ug.eecg.toronto.edu/~brewste/
- "The whole of Nature is Chaos : A Fract all should know"
- <brewste@ecf.toronto.edu> <schmeel.brewster@utoronto.ca> <bj540@torfree.net>
-